package org.shagin.jfin.data.model;

import org.shagin.jfin.data.Money;
import org.shagin.jfin.date.cond.IDateCondition;

/**
 * The Class OperationAction.
 */
public class OperationAction {

    private IDateCondition dateCondition;
    private Money money;

    /**
     * Instantiates a new operation action.
     *
     * @param dateCondition the date condition
     * @param money the money
     */
    public OperationAction(IDateCondition dateCondition, Money money) {
        this.dateCondition = dateCondition;
        this.money = money;
    }

    /**
     * Gets the date condition.
     *
     * @return the date condition
     */
    public IDateCondition getDateCondition() {
        return dateCondition;
    }

    /**
     * Gets the money.
     *
     * @return the money
     */
    public Money getMoney() {
        return money;
    }

}
